package com.ants.boot.system.dto.sysrole;

import com.ants.boot.system.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/9 15:30
 */
@ApiModel(value = "角色信息搜索查询分页对象")
public class QueryRoleDto extends PageDto {

    @NotNull(message = "名称不能为空！")
    @ApiModelProperty(value = "角色名", required = true)
    private String name;

    @NotNull(message = "创建时间不能为空！")
    @ApiModelProperty(value = "创建时间", required = true)
    private String createTime;

    @ApiModelProperty(value = "默认值为空白字符串")
    private String status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public QueryRoleDto() {
    }


}
